/*
 * @Author: hechengfei h349187021@163.com
 * @Date: 2022-08-11 15:27:15
 * @LastEditors: hechengfei h349187021@163.com
 * @LastEditTime: 2022-08-11 15:35:36
 * @FilePath: \xiangmu\src\components\contractmanagement\GetRouter.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { useRoutes } from 'react-router-dom'
import ContractList from './ContractList'
import TodayAdd from './TodayAdd'
import WeekAdd from './WeekAdd'
import MonthAdd from './MonthAdd'
import DuetoTody from './DuetoTody'
import DuetoWeek from './DuetoWeek'
import DuetoMonth from './DuetoMonth'
const GetRouters = () => {
    return useRoutes([
        {
            path: '/ContractList',
            element: <ContractList />
        },
        {
            path: '/TodayAdd',
            element: <TodayAdd />
        },
        {
            path: '/WeekAdd',
            element: <WeekAdd />
        },
        {
            path: '/MonthAdd',
            element: <MonthAdd />
        },
        {
            path: '/DuetoTody',
            element: <DuetoTody />
        },
        {
            path: '/DuetoWeek',
            element: <DuetoWeek />
        },
        {
            path: '/DuetoMonth',
            element: <DuetoMonth />
        },
    ])
}
export default GetRouters